/// applicationBranch : "杭州市第三社会福利院"
/// applyPerson : "超级管理员"
/// createdNameBy : "超级管理员"
/// saveOrSubmit : null
/// canAudite : false
/// statusName : "审核通过"
/// bpmTypeName : "常规审批"
/// office : "综合部"
/// logisticsMaterialApplicationDetailBeans : [{"materialTypeName":"生活用品","assetType":3,"assetTypeName":"消耗品","applicationId":20,"applicationNo":"LYSQhzsdsshfly20221212012","applyPersonId":5,"materialId":628,"materialName":"圆珠笔","materialType":18,"brand":"晨光","model":"szdxcfgvbhjn2223","specification":"","attatchId":null,"path":"","unit":"支","quantity":1,"branchId":6627,"tenantId":1000,"saasId":1000,"accCode":"1000.6507.6627","id":21,"createdBy":"5","createdDate":"2022-12-12 18:31:43","updatedBy":"5","updatedDate":"2022-12-12 18:31:43"}]
/// applicationNo : "LYSQhzsdsshfly20221212012"
/// applicationBranchId : 6627
/// applyTime : "2022-12-12 18:31:43"
/// officeId : 9054
/// officeChildrenId : null
/// applyPersonId : 5
/// status : 1
/// auditTime : "2022-12-12 18:31:45"
/// auditId : null
/// remark : ""
/// branchId : 6627
/// tenantId : 1000
/// saasId : 1000
/// accCode : "1000.6507.6627"
/// bpmType : 0
/// bpmNo : "LYSQ202212120001"
/// deleteStatus : 0
/// id : 20
/// createdBy : "5"
/// createdDate : "2022-12-12 18:31:43"
/// updatedBy : "5"
/// updatedDate : "2022-12-12 18:31:45"

class UseRequestListData {
  UseRequestListData({
      this.applicationBranch, 
      this.applyPerson, 
      this.createdNameBy, 
      this.saveOrSubmit, 
      this.canAudite, 
      this.statusName, 
      this.bpmTypeName, 
      this.office, 
      this.logisticsMaterialApplicationDetailBeans, 
      this.applicationNo, 
      this.applicationBranchId, 
      this.applyTime, 
      this.officeId, 
      this.officeChildrenId, 
      this.applyPersonId, 
      this.status, 
      this.auditTime, 
      this.auditId, 
      this.remark, 
      this.branchId, 
      this.tenantId, 
      this.saasId, 
      this.accCode, 
      this.bpmType, 
      this.bpmNo, 
      this.deleteStatus, 
      this.id, 
      this.createdBy, 
      this.createdDate, 
      this.updatedBy, 
      this.updatedDate,});

  UseRequestListData.fromJson(dynamic json) {
    applicationBranch = json['applicationBranch'];
    applyPerson = json['applyPerson'];
    createdNameBy = json['createdNameBy'];
    saveOrSubmit = json['saveOrSubmit'];
    canAudite = json['canAudite'];
    statusName = json['statusName'];
    bpmTypeName = json['bpmTypeName'];
    office = json['office'];
    if (json['logisticsMaterialApplicationDetailBeans'] != null) {
      logisticsMaterialApplicationDetailBeans = [];
      json['logisticsMaterialApplicationDetailBeans'].forEach((v) {
        logisticsMaterialApplicationDetailBeans?.add(LogisticsMaterialApplicationDetailBeans.fromJson(v));
      });
    }
    applicationNo = json['applicationNo'];
    applicationBranchId = json['applicationBranchId'];
    applyTime = json['applyTime'];
    officeId = json['officeId'];
    officeChildrenId = json['officeChildrenId'];
    applyPersonId = json['applyPersonId'];
    status = json['status'];
    auditTime = json['auditTime'];
    auditId = json['auditId'];
    remark = json['remark'];
    branchId = json['branchId'];
    tenantId = json['tenantId'];
    saasId = json['saasId'];
    accCode = json['accCode'];
    bpmType = json['bpmType'];
    bpmNo = json['bpmNo'];
    deleteStatus = json['deleteStatus'];
    id = json['id'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  String? applicationBranch;
  String? applyPerson;
  String? createdNameBy;
  dynamic saveOrSubmit;
  bool? canAudite;
  String? statusName;
  String? bpmTypeName;
  String? office;
  List<LogisticsMaterialApplicationDetailBeans>? logisticsMaterialApplicationDetailBeans;
  String? applicationNo;
  num? applicationBranchId;
  String? applyTime;
  num? officeId;
  dynamic officeChildrenId;
  num? applyPersonId;
  num? status;
  String? auditTime;
  dynamic auditId;
  String? remark;
  num? branchId;
  num? tenantId;
  num? saasId;
  String? accCode;
  num? bpmType;
  String? bpmNo;
  num? deleteStatus;
  num? id;
  String? createdBy;
  String? createdDate;
  String? updatedBy;
  String? updatedDate;
UseRequestListData copyWith({  String? applicationBranch,
  String? applyPerson,
  String? createdNameBy,
  dynamic saveOrSubmit,
  bool? canAudite,
  String? statusName,
  String? bpmTypeName,
  String? office,
  List<LogisticsMaterialApplicationDetailBeans>? logisticsMaterialApplicationDetailBeans,
  String? applicationNo,
  num? applicationBranchId,
  String? applyTime,
  num? officeId,
  dynamic officeChildrenId,
  num? applyPersonId,
  num? status,
  String? auditTime,
  dynamic auditId,
  String? remark,
  num? branchId,
  num? tenantId,
  num? saasId,
  String? accCode,
  num? bpmType,
  String? bpmNo,
  num? deleteStatus,
  num? id,
  String? createdBy,
  String? createdDate,
  String? updatedBy,
  String? updatedDate,
}) => UseRequestListData(  applicationBranch: applicationBranch ?? this.applicationBranch,
  applyPerson: applyPerson ?? this.applyPerson,
  createdNameBy: createdNameBy ?? this.createdNameBy,
  saveOrSubmit: saveOrSubmit ?? this.saveOrSubmit,
  canAudite: canAudite ?? this.canAudite,
  statusName: statusName ?? this.statusName,
  bpmTypeName: bpmTypeName ?? this.bpmTypeName,
  office: office ?? this.office,
  logisticsMaterialApplicationDetailBeans: logisticsMaterialApplicationDetailBeans ?? this.logisticsMaterialApplicationDetailBeans,
  applicationNo: applicationNo ?? this.applicationNo,
  applicationBranchId: applicationBranchId ?? this.applicationBranchId,
  applyTime: applyTime ?? this.applyTime,
  officeId: officeId ?? this.officeId,
  officeChildrenId: officeChildrenId ?? this.officeChildrenId,
  applyPersonId: applyPersonId ?? this.applyPersonId,
  status: status ?? this.status,
  auditTime: auditTime ?? this.auditTime,
  auditId: auditId ?? this.auditId,
  remark: remark ?? this.remark,
  branchId: branchId ?? this.branchId,
  tenantId: tenantId ?? this.tenantId,
  saasId: saasId ?? this.saasId,
  accCode: accCode ?? this.accCode,
  bpmType: bpmType ?? this.bpmType,
  bpmNo: bpmNo ?? this.bpmNo,
  deleteStatus: deleteStatus ?? this.deleteStatus,
  id: id ?? this.id,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['applicationBranch'] = applicationBranch;
    map['applyPerson'] = applyPerson;
    map['createdNameBy'] = createdNameBy;
    map['saveOrSubmit'] = saveOrSubmit;
    map['canAudite'] = canAudite;
    map['statusName'] = statusName;
    map['bpmTypeName'] = bpmTypeName;
    map['office'] = office;
    if (logisticsMaterialApplicationDetailBeans != null) {
      map['logisticsMaterialApplicationDetailBeans'] = logisticsMaterialApplicationDetailBeans?.map((v) => v.toJson()).toList();
    }
    map['applicationNo'] = applicationNo;
    map['applicationBranchId'] = applicationBranchId;
    map['applyTime'] = applyTime;
    map['officeId'] = officeId;
    map['officeChildrenId'] = officeChildrenId;
    map['applyPersonId'] = applyPersonId;
    map['status'] = status;
    map['auditTime'] = auditTime;
    map['auditId'] = auditId;
    map['remark'] = remark;
    map['branchId'] = branchId;
    map['tenantId'] = tenantId;
    map['saasId'] = saasId;
    map['accCode'] = accCode;
    map['bpmType'] = bpmType;
    map['bpmNo'] = bpmNo;
    map['deleteStatus'] = deleteStatus;
    map['id'] = id;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}

/// materialTypeName : "生活用品"
/// assetType : 3
/// assetTypeName : "消耗品"
/// applicationId : 20
/// applicationNo : "LYSQhzsdsshfly20221212012"
/// applyPersonId : 5
/// materialId : 628
/// materialName : "圆珠笔"
/// materialType : 18
/// brand : "晨光"
/// model : "szdxcfgvbhjn2223"
/// specification : ""
/// attatchId : null
/// path : ""
/// unit : "支"
/// quantity : 1
/// branchId : 6627
/// tenantId : 1000
/// saasId : 1000
/// accCode : "1000.6507.6627"
/// id : 21
/// createdBy : "5"
/// createdDate : "2022-12-12 18:31:43"
/// updatedBy : "5"
/// updatedDate : "2022-12-12 18:31:43"

class LogisticsMaterialApplicationDetailBeans {
  LogisticsMaterialApplicationDetailBeans({
      this.materialTypeName, 
      this.assetType, 
      this.assetTypeName, 
      this.applicationId, 
      this.applicationNo, 
      this.applyPersonId, 
      this.materialId, 
      this.materialName, 
      this.materialType, 
      this.brand, 
      this.model, 
      this.specification, 
      this.attatchId, 
      this.path, 
      this.unit, 
      this.quantity, 
      this.branchId, 
      this.tenantId, 
      this.saasId, 
      this.accCode, 
      this.id, 
      this.createdBy, 
      this.createdDate, 
      this.updatedBy, 
      this.updatedDate,});

  LogisticsMaterialApplicationDetailBeans.fromJson(dynamic json) {
    materialTypeName = json['materialTypeName'];
    assetType = json['assetType'];
    assetTypeName = json['assetTypeName'];
    applicationId = json['applicationId'];
    applicationNo = json['applicationNo'];
    applyPersonId = json['applyPersonId'];
    materialId = json['materialId'];
    materialName = json['materialName'];
    materialType = json['materialType'];
    brand = json['brand'];
    model = json['model'];
    specification = json['specification'];
    attatchId = json['attatchId'];
    path = json['path'];
    unit = json['unit'];
    quantity = json['quantity'];
    branchId = json['branchId'];
    tenantId = json['tenantId'];
    saasId = json['saasId'];
    accCode = json['accCode'];
    id = json['id'];
    createdBy = json['createdBy'];
    createdDate = json['createdDate'];
    updatedBy = json['updatedBy'];
    updatedDate = json['updatedDate'];
  }
  String? materialTypeName;
  num? assetType;
  String? assetTypeName;
  num? applicationId;
  String? applicationNo;
  num? applyPersonId;
  num? materialId;
  String? materialName;
  num? materialType;
  String? brand;
  String? model;
  String? specification;
  dynamic attatchId;
  String? path;
  String? unit;
  num? quantity;
  num? branchId;
  num? tenantId;
  num? saasId;
  String? accCode;
  num? id;
  String? createdBy;
  String? createdDate;
  String? updatedBy;
  String? updatedDate;
LogisticsMaterialApplicationDetailBeans copyWith({  String? materialTypeName,
  num? assetType,
  String? assetTypeName,
  num? applicationId,
  String? applicationNo,
  num? applyPersonId,
  num? materialId,
  String? materialName,
  num? materialType,
  String? brand,
  String? model,
  String? specification,
  dynamic attatchId,
  String? path,
  String? unit,
  num? quantity,
  num? branchId,
  num? tenantId,
  num? saasId,
  String? accCode,
  num? id,
  String? createdBy,
  String? createdDate,
  String? updatedBy,
  String? updatedDate,
}) => LogisticsMaterialApplicationDetailBeans(  materialTypeName: materialTypeName ?? this.materialTypeName,
  assetType: assetType ?? this.assetType,
  assetTypeName: assetTypeName ?? this.assetTypeName,
  applicationId: applicationId ?? this.applicationId,
  applicationNo: applicationNo ?? this.applicationNo,
  applyPersonId: applyPersonId ?? this.applyPersonId,
  materialId: materialId ?? this.materialId,
  materialName: materialName ?? this.materialName,
  materialType: materialType ?? this.materialType,
  brand: brand ?? this.brand,
  model: model ?? this.model,
  specification: specification ?? this.specification,
  attatchId: attatchId ?? this.attatchId,
  path: path ?? this.path,
  unit: unit ?? this.unit,
  quantity: quantity ?? this.quantity,
  branchId: branchId ?? this.branchId,
  tenantId: tenantId ?? this.tenantId,
  saasId: saasId ?? this.saasId,
  accCode: accCode ?? this.accCode,
  id: id ?? this.id,
  createdBy: createdBy ?? this.createdBy,
  createdDate: createdDate ?? this.createdDate,
  updatedBy: updatedBy ?? this.updatedBy,
  updatedDate: updatedDate ?? this.updatedDate,
);
  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['materialTypeName'] = materialTypeName;
    map['assetType'] = assetType;
    map['assetTypeName'] = assetTypeName;
    map['applicationId'] = applicationId;
    map['applicationNo'] = applicationNo;
    map['applyPersonId'] = applyPersonId;
    map['materialId'] = materialId;
    map['materialName'] = materialName;
    map['materialType'] = materialType;
    map['brand'] = brand;
    map['model'] = model;
    map['specification'] = specification;
    map['attatchId'] = attatchId;
    map['path'] = path;
    map['unit'] = unit;
    map['quantity'] = quantity;
    map['branchId'] = branchId;
    map['tenantId'] = tenantId;
    map['saasId'] = saasId;
    map['accCode'] = accCode;
    map['id'] = id;
    map['createdBy'] = createdBy;
    map['createdDate'] = createdDate;
    map['updatedBy'] = updatedBy;
    map['updatedDate'] = updatedDate;
    return map;
  }

}